package recite.word.client.service;

import org.springframework.web.multipart.MultipartFile;
import recite.word.client.dto.file.SendMessageDTO;
import recite.word.client.dto.file.TranslateDTO;
import recite.word.service.base.common.request.BaseRequest;

import java.io.IOException;

public interface IFileService {
    String imgUpload(MultipartFile file) throws IOException;

    String Tess4J(MultipartFile file, String language);

    String translate(BaseRequest<TranslateDTO> dto);

    void sendMessage(BaseRequest<SendMessageDTO> dto);
}
